<div class="slider-wrapper slider-wrapper-portrait">
<div class="slider">
<div class="slider-inner">
<div class="row">
<div class="span4-portrait images"><?php if($premium_project) { ?>
<div class='iosSlider'>
<div class='slider-content'><?php foreach ($premium_project as $media) {  ?>
<div class="slide"><?php if(isset($media['proMedia']->FileName) && isset($media['proMedia']->FileExtension)) { ?>
<img
	src="<?php echo $this->config->item('HTTP_PRODIR_MEDIA_IMAGE') . $media['ID'] . '/' . $media['proMedia']->FileName . PORTRAIT_PREMIUM_DIMENSION . $media['proMedia']->FileExtension; ?>"
	alt="" width="<?php echo $media['width']; ?>"
	height="<?php echo $media['height']; ?>"> <?php } else { ?> <img
	src="<?php echo $this->config->item('HTTP_IMAGE'); ?>tmp/no-image-premium.png"
	alt=""> <?php } ?>
<div class="slider-info">
<h2><a href="<?php echo $media['href']; ?>"><?php echo $media['ProjectName']; ?></a></h2>
</div>
<!-- /.slider-info --></div>
<!-- /.slide --> <?php } ?></div>
<!-- /.slider-content --></div>
<ul class="navigation">
<?php $count = 0; ?>
<?php foreach ($premium_project as $media) {  ?>
<?php
$count++;
if($count == 1) { ?>
	<li class="active"><a><?php echo $count; ?></a></li>
	<?php } else { ?>
	<li><a><?php echo $count; ?></a></li>
	<?php } ?>
	<?php } ?>
</ul>
<!-- /.navigation--> <?php } else { ?> <img
	src="<?php echo $this->config->item('HTTP_IMAGE'); ?>tmp/no-image-premium.png"
	alt=""> <?php } ?></div>
<!-- /.span4 -->
<div class="span5-portrait"><?php $this->load->view('helpers/widgets/search-form-portrait.php'); ?>
</div>
<!-- /.span5 -->
<div class="span3"><?php $this->load->view('helpers/widgets/member-login-portrait.php'); ?>
</div>
<!-- /.span3 --></div>
<!-- /.row --></div>
<!-- /.slider-inner --></div>
<!-- /.slider --></div>
<!-- /.slider-wrapper -->
